package per.turtle.common.core.constant;

/**
 * 用户常量信息
 *
 * @author turtle
 */
public class UserConstants {

    /**
     * 平台内系统用户的唯一标志
     */
    public static final String SYS_USER = "SYS_USER";

    /**
     * 菜单类型（目录）
     */
    public static final String TYPE_DIR = "ML";

    /**
     * 菜单类型（菜单）
     */
    public static final String TYPE_MENU = "CD";

    /**
     * 菜单类型（按钮）
     */
    public static final String TYPE_BUTTON = "AN";

    /**
     * Layout组件标识
     */
    public final static String LAYOUT = "Layout";

    /**
     * ParentView组件标识
     */
    public final static String PARENT_VIEW = "ParentView";

    /**
     * 用户名长度限制
     */
    public static final int USERNAME_MIN_LENGTH = 2;

    public static final int USERNAME_MAX_LENGTH = 20;

    /**
     * 密码长度限制
     */
    public static final int PASSWORD_MIN_LENGTH = 5;

    public static final int PASSWORD_MAX_LENGTH = 20;

    /**
     * admin 角色 id
     */
    public static final String ADMIN_ROLE_ID = "1234567890ADMIN_ID10021QAZ2WSX";

    /**
     * admin 用户 id
     */
    public static final String ADMIN_USER_ID = "1234567890ADMIN_ID10021QAZ2WSX";

}
